package com.gmail.huxiaowi.cblog.web.listener;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

public class SessionListener implements HttpSessionListener {
    
    public void sessionCreated(HttpSessionEvent hse) {
       /* HttpSession session = hse.getSession();
        ServletContext context = session.getServletContext();
        
        ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(context);
        IUserService userBiz = (IUserService) ctx.getBean("userBiz");
        
        Collection<Category> categorys = userBiz.queryAllCategorys();
        session.setAttribute("categorys", categorys);*/
    }

    public void sessionDestroyed(HttpSessionEvent hse) {
    }

}
